<?php
require_once("Database.class.php");
require_once("Database.object.class.php");
require_once("Session.class.php");
require_once("User_type.class.php");


class Resource extends Database_object 
    {
     protected static $table_name="resource";
	   protected static $db_fields = array('ID' , 'name' , 'description' , 'resource_type');
     protected $ID;
     protected $name;
     protected $description;
     protected $resource_type;
	 
   public function set_id($ID)
   {
     $this->ID = $ID;
   }

   public function get_id()
   {
     return $this->ID;
   }

  public function set_name($name)
  {
    $this->name = $name;
  }

  public function get_name()
  {
    return $this->name;
  }
	 
  public function set_description($description)
  {
    $this->description = $description;
  }

  public function get_description()
  {
    return $this->description;
  }
	 
  public function set_resource_type($type)
  {
    $this->resource_type = $type;
  }

  public function get_resource_type()
  {
    return $this->position;
  }
	 
}
?>